<!DOCTYPE html>
<html>
    <head>
        <title>Run the testsuite</title>
        <noscript>
            Javascript is disabled in your browser. This page cannot be 
            displayed correctly without Javascript. Sorry. 
            <br/>
            If you want to view this page, please change your browser settings
            so that Javascript is enabled.
        </noscript>
        <!--
        
        Test.AnotherWay version 0.5
        
        Copyright (c) 2005 Artem Khodush, http://straytree.org
        
        Permission is hereby granted, free of charge, to any person obtaining
        a copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be
        included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
        LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
        OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
        WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
        -->
        <link rel="stylesheet" href="Test.AnotherWay.css" />
        <script type="text/javascript" src="Test.AnotherWay.js"></script>
        <script type="text/javascript" src="Test.AnotherWay.baseadditions.js"></script>
        <script type="text/javascript" src="Test.AnotherWay.xml_eq.js"></script>
        <script type="text/javascript" src="Test.AnotherWay.geom_eq.js"></script>
    </head>
    <body>
        <div id="col1">
            <div id="col1_header">
                Test pages:
                <input id="quickfilter" placeholder="quick filter">
            </div>
            <div id="scroller">
                <table id="testtable">
                </table>
            </div>
            <div id="run_buttons">
                <input type="button" value=" clear " id="clear_btn" /><input type="button" value=" run all " id="run_all" /><input type="button" value=" run selected " id="run_selected" /><input type="button" value=" unselect all " id="unselect_all" />
            </div>
            <div id="running-time">
            </div>
            <input type="checkbox" id="dont_close_test_windows" /> do not close windows opened by tests
            <div id="error">
            </div>
            <div id="record_div">
                <p id="record_not_supported" style="display:none">
                </p>
                <p>
                    Record mouse input for the page:
                </p>
                <p>
                    <input type="radio" name="record_choose" value="select" checked="checked" />
                    <select id="record_select">
                        <option selected="selected">-- select a page: --</option>
                    </select>
                </p>
                <p>
                    <input type="radio" name="record_choose" value="input" /> or enter page url: <input type="text" id="record_input" />
                </p>
                <p>
                    <input type="button" value=" record " id="record_start" />
                </p>
            </div>
        </div>
        <div id="col2">
            <div id="right_header">
                <span id="results_count">Results: <span id="total"></span></span>
                <span id="results_tab" class="active_tab" style="visibility:hidden">Results</span>
                <span id="debug_tab" class="inactive_tab" style="visibility:hidden">Debug</span>
            </div>
            <div id="right_frame">
                <div id="results">
                </div>
                <div id="debug">
                </div>
            </div>
        </div>
        <span>
            <iframe id="test_iframe_el" style="display:none" name="test_iframe" onload="Test.AnotherWay._test_page_onload();">
            </iframe>
        </span>
        <span style="display:none">
            <iframe name="list_iframe" onload="Test.AnotherWay._list_iframe_onload();">
            </iframe>
            <!-- record_control div is to be imported into other documents, so all its styles are inline -->-
            <div id="record_control" style="position:absolute;bottom:0;left:0;margin:0;padding:0.5em;width:22em;height:22em;border:1px solid;background:#ffd;font: normal normal 8pt sans-serif; color:#000; text-align: left">
                <p style="margin:0 0 0 0; padding:0">
                    &nbsp;<span style="display:none;font-weight:bold;color:#408" id="record_indicator">recording. <span style="font-weight:normal">time: <span id="record_time"></span></span><span id="record_pause_indicator">paused</span></span>
                </p>
                <div id="record_cursor_over" style="margin:0;padding:2px;width:14em;height:1.1em;overflow:hidden;float:right;border:1px solid #777;background:#fff;font: normal normal 8pt sans-serif;position:relative;top:3px;color:#000;text-align:left;">
                    &nbsp;
                </div>
                <p style="margin:2px 0 0 0; padding:0">
                    cursor is over
                </p>
                <p style="margin:8px 0 0 0; padding:0;">
                    keyboard control: press<span id="record_ctrl_key" style="border:1px solid #226;background:#adf;padding:0 0.5em">ctrl</span>
                    -<span id="record_shift_key" style="border:1px solid #226;background:#adf;padding:0 0.5em">shift</span>
                    -
                </p>
                <p style="margin:4px 0 0 0; padding:0">
                    <span id="record_s" style="border:1px solid #226;background:#adf;width:1.2em;float:left;font-weight:bold;text-align:center;margin-right:0.5em">s</span>
                    <span id="record_on">to <b>start</b> recording</span>
                    <span id="record_off" style="display:none">to <b>stop</b> recording</span>
                </p>
                <p style="margin:4px 0 0 0; padding:0">
                    <span id="record_h" style="border:1px solid #226;background:#adf;width:1.2em;float:left;font-weight:bold;text-align:center;margin-right:0.5em">h</span>
                    <span>to <b>hide/show</b> this window</span>
                </p>
                <p style="margin:4px 0 0 0; padding:0">
                    <span id="record_m" style="border:1px solid #226;background:#adf;width:1.2em;float:left;font-weight:bold;text-align:center;margin-right:0.5em">m</span>
                    <span id="record_include_mousemove">to <b>record</b> mousemove</span>
                    <span id="record_omit_mousemove" style="display:none">to <b>omit</b> mousemove</span>
                </p>
                <p style="margin:4px 0 0 0; padding:0">
                    <span id="record_p" style="border:1px solid #226;background:#aaa;width:1.2em;float:left;font-weight:bold;text-align:center;margin-right:0.5em">p</span>
                    <span id="record_pause_on">to <b>pause</b> recording</span>
                    <span id="record_pause_off" style="display:none">to <b>continue</b> recording</span>
                </p>
                <p style="margin:4px 0 0 0; padding:0">
                    <span id="record_c" style="border:1px solid #226;background:#aaa;width:1.2em;float:left;font-weight:bold;text-align:center;margin-right:0.5em">c</span>
                    <span>to add checkpoint</span>
                </p>
                <p style="margin:6px 0 0 0; padding:0">
                    checkpoints:
                </p>
                <div id="record_checkpoints" style="position:relative;width:100%;height:6em;overflow:auto;font: normal normal 8pt sans-serif; color:#000; text-align: left">
                </div>
            </div>
        </span>
        <script>
            if (/noscroll/.test(location.href)) {
                document.getElementById('scroller').style.height = 'auto';
                document.getElementById('right_frame').style.height = 'auto';
            }
        </script>
    </body>
</html>
